package com.gb.demand.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wengjiangle
 * @since 2020-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_apilog")
@ApiModel(value="Apilog对象", description="")
public class Apilog extends Model<Apilog> implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "添加时间")
    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Boolean deleteStatus;

    @ApiModelProperty(value = "调用的api名称")
    private String invokeapi;

    @ApiModelProperty(value = "被调用api名称")
    private String beinvokedapi;

    @ApiModelProperty(value = "调用者")
    private String caller;

    @ApiModelProperty(value = "输入内容")
    private String inputvalue;

    @ApiModelProperty(value = "输出内容")
    private String outputvalue;

    @ApiModelProperty(value = "记录接口作用")
    private String remark;

    public Apilog() {
    }

    public Apilog(Date addTime, boolean deleteStatus, String invokeapi, String beinvokedapi, String caller, String inputvalue, String outputvalue, String remark) {
        this.addTime = addTime;
        this.deleteStatus = deleteStatus;
        this.invokeapi = invokeapi;
        this.beinvokedapi = beinvokedapi;
        this.caller = caller;
        this.inputvalue = inputvalue;
        this.outputvalue = outputvalue;
        this.remark = remark;
    }

}
